package com.foot.travel.viewholder;

import java.util.List;

import android.content.Context;
import android.view.View;
import android.widget.TextView;

import com.foot.travel.R;
import com.koalac.ironman.common.adapter.ViewHolderModel;
import com.koalac.ironman.net.pojo.response.TourDate;

public class SelectViewholder extends ViewHolderModel<TourDate>{

    private TextView tourDateView;
    
    public SelectViewholder(Context context, List<TourDate> list) {
	super(context, list);
    }

    @Override
    public void initViewHoler(int position, View convertView) {
	tourDateView = (TextView) convertView.findViewById(R.id.tour_date);
    }

    @Override
    public void setViewHolerValues(int position, View convertView) {
	TourDate tourDate = list.get(position);
	tourDateView.setText(tourDate.getDate());
    }
    
    

}
